﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace WLYT.Domain.Entries
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("AgvDetailTask")]
    public partial class AgvDetailTask
    {
           public AgvDetailTask(){

            this.Sort =Convert.ToInt32("0");
            this.TaskCode =Convert.ToString("");
            this.AgvCode =Convert.ToString("");
            this.Position =Convert.ToString("");
            this.MapType =Convert.ToInt32("0");
            this.PLCAddress =Convert.ToString("");
            this.Type =Convert.ToInt32("0");
            this.CreateTime =DateTime.Now;
            this.Status =Convert.ToInt32("0");
            this.Enum =Convert.ToInt32("0");

           }
           /// <summary>
           /// Desc:任务排序
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int Sort {get;set;}

           /// <summary>
           /// Desc:单号
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string TaskCode {get;set;}

           /// <summary>
           /// Desc:Agv编号
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string AgvCode {get;set;}

           /// <summary>
           /// Desc:位置
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string Position {get;set;}

           /// <summary>
           /// Desc:地图类型（0：入料，1：出料）
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int MapType {get;set;}

           /// <summary>
           /// Desc:PLC对应地址
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string PLCAddress {get;set;}

           /// <summary>
           /// Desc:任务类型（0：下料，1：上治具_有料，2：上治具_无料）
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int Type {get;set;}

           /// <summary>
           /// Desc:创建时间
           /// Default:DateTime.Now
           /// Nullable:False
           /// </summary>           
           public DateTime CreateTime {get;set;}

           /// <summary>
           /// Desc:开始时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? StartTime {get;set;}

           /// <summary>
           /// Desc:完成时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? CompleteTime {get;set;}

           /// <summary>
           /// Desc:状态（-1：撤销任务，0：等待，1：运输完成，2：任务完成）
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int Status {get;set;}

           /// <summary>
           /// Desc:
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int Enum {get;set;}

    }
}
